package fhp.hlhj.giantfold.javaBean;

import android.webkit.JavascriptInterface;

import fhp.hlhj.giantfold.Contents;
import fhp.hlhj.giantfold.utils.LogUtil;

/**
 * author: FHP
 * data: on 2018\1\22 0022 10:57
 * E-Mail: 103945089@qq.com
 */

public class InJavaScriptLocalObj {
    @JavascriptInterface
    public void showSource(String html) {
        Contents.INSTANCE.setHtmlStr(html);
        LogUtil.INSTANCE.e("info","====>html=" + html);
    }

    @JavascriptInterface
    public void showDescription(String str) {
        LogUtil.INSTANCE.e("info","====>html2222222222=" + str);
    }
}
